package com.yunxi.basedata.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.basedata.pojo.CompanyVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;
/**
 * <p>
 * 公司信息 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-21
 */
public interface CompanyDubboService {

    CompanyVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(CompanyVO companyVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<CompanyVO> findPageByVO(CompanyVO companyVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List listByVO(CompanyVO companyVO);

    void removeByListVo(List<CompanyVO> companyVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;
}
